package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 支持与帮助表
 * </p>
 *
 * @author ccl
 * @since 2024-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjSupportHelp对象", description="支持与帮助表")
public class MjSupportHelp extends Model<MjSupportHelp> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "问题编码")
    private String code;

    @ApiModelProperty(value = "问题名称")
    private String questionName;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "技术支持类型 0-数据API技术相关 1-API接口文档相关 2-售后及商务问题模板")
    private String type;

    @ApiModelProperty(value = "技术支持类型 0-数据API技术相关 1-API接口文档相关 2-售后及商务问题模板")
    @TableField(exist = false)
    private String typeName;

    @ApiModelProperty(value = "意见内容")
    private String opinionContent;

    @ApiModelProperty(value = "状态0 - 停用 1 - 启用")
    private String prOnoff;

    @ApiModelProperty(value = "联系方式")
    private String mobilePhone;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "文档名称")
    private String documentName;

    @ApiModelProperty(value = "文档下载地址")
    private String documentUrl;

    @ApiModelProperty(value = "下载数量")
    private String downloadCount;

    @ApiModelProperty(value = "提交时间")
    private Date submitTime;

    @ApiModelProperty(value = "启停时间")
    private Date prOnoffTime;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "部门编码")
    private String deptCode;

    @ApiModelProperty(value = "部门编码")
    private String deptName;

    @ApiModelProperty(value = "所属机构")
    private String orgCode;

    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ApiModelProperty(value = "更新人id")
    private String updateId;

    @ApiModelProperty(value = "创建人id")
    private String createId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备用字段1")
    private Integer spareInt1;

    @ApiModelProperty(value = "备用字段2")
    private Integer spareInt2;

    @ApiModelProperty(value = "备用字段1")
    private String spareString1;

    @ApiModelProperty(value = "备用字段2")
    private String spareString2;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
